﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200046B RID: 1131
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EnterRogueEndlessActivityStageScRsp : IMessage<EnterRogueEndlessActivityStageScRsp>, IMessage, IEquatable<EnterRogueEndlessActivityStageScRsp>, IDeepCloneable<EnterRogueEndlessActivityStageScRsp>, IBufferMessage
	{
		// Token: 0x17000E8F RID: 3727
		// (get) Token: 0x060032E9 RID: 13033 RVA: 0x0008BEAB File Offset: 0x0008A0AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EnterRogueEndlessActivityStageScRsp> Parser
		{
			get
			{
				return EnterRogueEndlessActivityStageScRsp._parser;
			}
		}

		// Token: 0x17000E90 RID: 3728
		// (get) Token: 0x060032EA RID: 13034 RVA: 0x0008BEB2 File Offset: 0x0008A0B2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EnterRogueEndlessActivityStageScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000E91 RID: 3729
		// (get) Token: 0x060032EB RID: 13035 RVA: 0x0008BEC4 File Offset: 0x0008A0C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EnterRogueEndlessActivityStageScRsp.Descriptor;
			}
		}

		// Token: 0x060032EC RID: 13036 RVA: 0x0008BECB File Offset: 0x0008A0CB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterRogueEndlessActivityStageScRsp()
		{
		}

		// Token: 0x060032ED RID: 13037 RVA: 0x0008BED4 File Offset: 0x0008A0D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterRogueEndlessActivityStageScRsp(EnterRogueEndlessActivityStageScRsp other) : this()
		{
			this.kFIMLHHPMLI_ = ((other.kFIMLHHPMLI_ != null) ? other.kFIMLHHPMLI_.Clone() : null);
			this.battleInfo_ = ((other.battleInfo_ != null) ? other.battleInfo_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060032EE RID: 13038 RVA: 0x0008BF3C File Offset: 0x0008A13C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterRogueEndlessActivityStageScRsp Clone()
		{
			return new EnterRogueEndlessActivityStageScRsp(this);
		}

		// Token: 0x17000E92 RID: 3730
		// (get) Token: 0x060032EF RID: 13039 RVA: 0x0008BF44 File Offset: 0x0008A144
		// (set) Token: 0x060032F0 RID: 13040 RVA: 0x0008BF4C File Offset: 0x0008A14C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueEndlessLayerInfo KFIMLHHPMLI
		{
			get
			{
				return this.kFIMLHHPMLI_;
			}
			set
			{
				this.kFIMLHHPMLI_ = value;
			}
		}

		// Token: 0x17000E93 RID: 3731
		// (get) Token: 0x060032F1 RID: 13041 RVA: 0x0008BF55 File Offset: 0x0008A155
		// (set) Token: 0x060032F2 RID: 13042 RVA: 0x0008BF5D File Offset: 0x0008A15D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SceneBattleInfo BattleInfo
		{
			get
			{
				return this.battleInfo_;
			}
			set
			{
				this.battleInfo_ = value;
			}
		}

		// Token: 0x17000E94 RID: 3732
		// (get) Token: 0x060032F3 RID: 13043 RVA: 0x0008BF66 File Offset: 0x0008A166
		// (set) Token: 0x060032F4 RID: 13044 RVA: 0x0008BF6E File Offset: 0x0008A16E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x060032F5 RID: 13045 RVA: 0x0008BF77 File Offset: 0x0008A177
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EnterRogueEndlessActivityStageScRsp);
		}

		// Token: 0x060032F6 RID: 13046 RVA: 0x0008BF88 File Offset: 0x0008A188
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EnterRogueEndlessActivityStageScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.KFIMLHHPMLI, other.KFIMLHHPMLI) && object.Equals(this.BattleInfo, other.BattleInfo) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060032F7 RID: 13047 RVA: 0x0008BFEC File Offset: 0x0008A1EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.kFIMLHHPMLI_ != null)
			{
				num ^= this.KFIMLHHPMLI.GetHashCode();
			}
			if (this.battleInfo_ != null)
			{
				num ^= this.BattleInfo.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060032F8 RID: 13048 RVA: 0x0008C057 File Offset: 0x0008A257
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060032F9 RID: 13049 RVA: 0x0008C05F File Offset: 0x0008A25F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060032FA RID: 13050 RVA: 0x0008C068 File Offset: 0x0008A268
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.battleInfo_ != null)
			{
				output.WriteRawTag(18);
				output.WriteMessage(this.BattleInfo);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.Retcode);
			}
			if (this.kFIMLHHPMLI_ != null)
			{
				output.WriteRawTag(114);
				output.WriteMessage(this.KFIMLHHPMLI);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060032FB RID: 13051 RVA: 0x0008C0E0 File Offset: 0x0008A2E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.kFIMLHHPMLI_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.KFIMLHHPMLI);
			}
			if (this.battleInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.BattleInfo);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060032FC RID: 13052 RVA: 0x0008C150 File Offset: 0x0008A350
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EnterRogueEndlessActivityStageScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.kFIMLHHPMLI_ != null)
			{
				if (this.kFIMLHHPMLI_ == null)
				{
					this.KFIMLHHPMLI = new RogueEndlessLayerInfo();
				}
				this.KFIMLHHPMLI.MergeFrom(other.KFIMLHHPMLI);
			}
			if (other.battleInfo_ != null)
			{
				if (this.battleInfo_ == null)
				{
					this.BattleInfo = new SceneBattleInfo();
				}
				this.BattleInfo.MergeFrom(other.BattleInfo);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060032FD RID: 13053 RVA: 0x0008C1E4 File Offset: 0x0008A3E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060032FE RID: 13054 RVA: 0x0008C1F0 File Offset: 0x0008A3F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 18U)
				{
					if (num != 96U)
					{
						if (num != 114U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							if (this.kFIMLHHPMLI_ == null)
							{
								this.KFIMLHHPMLI = new RogueEndlessLayerInfo();
							}
							input.ReadMessage(this.KFIMLHHPMLI);
						}
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.battleInfo_ == null)
					{
						this.BattleInfo = new SceneBattleInfo();
					}
					input.ReadMessage(this.BattleInfo);
				}
			}
		}

		// Token: 0x040013FB RID: 5115
		private static readonly MessageParser<EnterRogueEndlessActivityStageScRsp> _parser = new MessageParser<EnterRogueEndlessActivityStageScRsp>(() => new EnterRogueEndlessActivityStageScRsp());

		// Token: 0x040013FC RID: 5116
		private UnknownFieldSet _unknownFields;

		// Token: 0x040013FD RID: 5117
		public const int KFIMLHHPMLIFieldNumber = 14;

		// Token: 0x040013FE RID: 5118
		private RogueEndlessLayerInfo kFIMLHHPMLI_;

		// Token: 0x040013FF RID: 5119
		public const int BattleInfoFieldNumber = 2;

		// Token: 0x04001400 RID: 5120
		private SceneBattleInfo battleInfo_;

		// Token: 0x04001401 RID: 5121
		public const int RetcodeFieldNumber = 12;

		// Token: 0x04001402 RID: 5122
		private uint retcode_;
	}
}
